package com.cf.docker.dao;

import com.cf.crud.mapper.BaseMapper;
import com.cf.docker.model.Machine;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MachineDao extends BaseMapper<Machine> {

    @Select("select * from machine where ip=#{ip}")
    Machine selectByIp(@Param("ip") String ip);
    
}
